# coding: utf-8
from sqlalchemy import Column, String
from marshmallow import Schema, fields
from model.model_base import Base


class EquipmentClassifyList(Base):
    # 设备类型对照表
    __tablename__ = 'EquipmentClassifyList'
    classifyid = Column(String(2), primary_key=True, comment='设备类型编号')
    classifyname = Column(String(50), nullable=True, comment='设备类型名称')


class EquipmentClassifyListSchema(Schema):
    classifyid = fields.String()
    classifyname = fields.String()


equipmentClassifyListSchema = EquipmentClassifyListSchema()




